package contactbook.model;

public class Account {
	private int id;
	private String login, password;
	private boolean islogged;
	
	public Account(String login, String password) {
		this.login = login;
		this.password = password;
		id = 0;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public void setLogged(boolean logged) {
		islogged = logged;
	}
	
	public boolean isLogged() {
		return islogged;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public int getId() {
		return id;
	}
}
